#include"SeqList.h"

void Test1()
{
	SL s;
	SLInit(&s);
	SLPushBack(1, &s);
	SLPushBack(2, &s);
	SLPushBack(3, &s);
	SLPushBack(4, &s);
	SLPushBack(5, &s);
	SLPushBack(6, &s);
	//Printf(&s);

	//SLPopBack(&s);
	//SLPopBack(&s);
	//SLPopBack(&s);
	//SLPopBack(&s);
	//SLPopBack(&s);
	//Printf(&s);

	//SLPushFront(100, &s);
	//Printf(&s);

	//SLPopFront(&s);
	Printf(&s);
	SLAdd(&s, 2, 100);

	Printf(&s);

	SLDelete(&s, 6);
	Printf(&s);


}
int main()
{

	Test1();
	return 0;
}